package cn.example.project1.vo;

import java.util.List;

/**
 * Tree数据Bean
 * Created by WuYB on 2017/6/16.
 */
public class TreeData<T> {

    private String text;

    private String id;

    private String parentId;

    private String icon;

    private String href;

    private List<TreeData> nodes;

    private T object;

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public String getHref() {
        return href;
    }

    public void setHref(String href) {
        this.href = href;
    }

    public List<TreeData> getNodes() {
        return nodes;
    }

    public void setNodes(List<TreeData> nodes) {
        this.nodes = nodes;
    }

    public T getObject() {
        return object;
    }

    public void setObject(T object) {
        this.object = object;
    }

    public TreeData() {
    }
}
